
const express = require("express");
const { resSuc, resErr } = require('../utils/resMsg.js');
const dbService = require("../../node/service/dbService.js");

const router = express.Router();

router.post("", (req, res) => {
    dbService.saveDB().then(() => { 
        res.json(resSuc())
    }).catch(err => { 
        res.json(resErr(500, err.message));
    })
})


module.exports = router;

